<div>
	<form method="post" id="form_${action_id}" name="form_${action_id}" >
	<input type="hidden" name="entity.id" value="${entity.id?default('')}" />
    <table class="form-table" cellpadding=3>
    	<tr>
            <td>${action.getDatagridTitle('mobile')}:</td>
            <td><input id="entity.mobile" name="entity.mobile" value="${entity.mobile?default('')}" type="text" style="width: 300px;" class="easyui-validatebox" data-options="validType:'length[0,32]'"  /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('realname')}:</td>
            <td><input id="entity.realname" style="width:300px;" name="entity.realname" value="${entity.realname?default('')}"  class="easyui-validatebox" data-options="validType:'length[0,128]'"  /></td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('type')}:</td>
            <td>
            	<select class="easyui-combobox" value="${entity.type.id?default('')}" name="entity.type.id" style="width:300px;" data-options="required:true">
            		<#list types as type>
            		<option value="${type.id}" <#if entity.type.id?default('')==type.id>selected="selected"</#if> >${type.title}</option>
            		</#list>
            	</select>
            </td>
        </tr>
        <tr>
            <td>${action.getDatagridTitle('state')}:</td>
            <td>
            	<select class="easyui-combobox" value="${entity.state?default('')}" name="entity.state" style="width:300px;" data-options="required:true">
            		<#list states as st>
            		<option value="${st.state}" <#if entity.state?default('')==st.state>selected="selected"</#if> >${action.getDatagridTitle('state.'+st.name())}</option>
            		</#list>
            	</select>
            </td>
        </tr>
    </table>
	</form>
</div>
